#! /bin/bash

SOURCES=$(ls *.c)
HEADERS=$(ls *.h)
MAKES=$(ls Makefile)
FILES="$SOURCES $HEADERS $MAKES descompactar.sh autoTest.sh README hosts"

if [ -n "$FILES" ]; then
	tar -czvf t3.tar.gz $FILES
	scp -P 22222 t3.tar.gz grupo12turmaBB@143.107.181.10:/home/grupo12turmaBB/T3/
	ssh -p22222 grupo12turmaBB@143.107.181.10
	# PASS: taradinhos
fi

